﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
    <ResourceDictionary.MergedDictionaries>
		<ResourceDictionary Source="../Views/Chat.xaml"></ResourceDictionary>
	</ResourceDictionary.MergedDictionaries>

	<Style TargetType="{x:Type ProgressBar}">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="ProgressBar">
					<Border BorderBrush="{Binding Path=BorderBrush, RelativeSource={RelativeSource TemplatedParent}}" BorderThickness="1" Background="{Binding Path=Background, RelativeSource={RelativeSource TemplatedParent}}" CornerRadius="0" Padding="0">
						<Grid x:Name="PART_Track">
							<Rectangle x:Name="PART_Indicator" HorizontalAlignment="Left" Fill="{Binding Path=Foreground, RelativeSource={RelativeSource TemplatedParent}}" />
						</Grid>
					</Border>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
</ResourceDictionary>